package week2;

import javax.swing.*;

/**
 * @author The Setting sun
 * @create 2021-09-16 16:59
 */
public class work4 {
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        JPanel panel = new JPanel();

        JLabel label = new JLabel("华氏温度：");
        JTextField textField1 = new JTextField(10);
        JButton button = new JButton("转换");
        JLabel label1 = new JLabel("摄氏温度：");
        JTextField textField2 = new JTextField(10);

        panel.add(label);

        frame.setSize(500, 450);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    }
}
